home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Environment Additions / Symantec / Read Me First! < prev   
Encoding:
Text File  |  1996-02-20  |  2.7 KB  |  52 lines  |  [TEXT/ttxt]

  1. Developing OpenDoc™ Parts with the Symantec Project Manager
  2. By The OpenDoc™ Engineering Team
  3. December 15, 1995
  4.  
  5.  
  6. © 1993-1995  Apple Computer, Inc. All Rights Reserved.
  7. Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc.
  8. Mac and OpenDoc are trademarks of Apple Computer, Inc.
  9. ----------------------------------------------------------------------------------------------------------------------------
  10.  
  11. Additions
  12.  
  13. The Additions  folder contains the additions to your Symantec environment necessary to develop OpenDoc parts. 
  14.  
  15. IMPORTANT: Building DR4 OpenDoc or ODF projects requires the pre-release tool set available on the Symantec C++ v8 release 4 CD. Also required is version 8.1d25 (or later) of the Symantec PowerPC C++ (provided in the Additions folder).
  16.  
  17. The following folders must be copied from the Additions folder to your hard drive and made accessible to your Symantec project tree:
  18.  
  19.     OpenDoc (SPM)
  20.     SOM (SPM)
  21.  
  22. In addition the OpenDoc folder from the Environment Additions folder must be copied to your hard drive and made accessible to your Symantec project tree.  You may wish to place it inside the OpenDoc (SPM) folder.
  23.  
  24. You can drop these into your Symantec folder, or put aliases to them (or to a folder containing them) into your Symantec folder's 'Aliases' folder or into individual project's folders.
  25.  
  26. Building Projects
  27.  
  28. The SamplePart projects rely on a common precompiled header which is included in the "Build Support" folder in the Development Additions for SampleCode. You will need to install this folder and manually located and build the precompiled header before you can build the Symantec sample part projects.
  29.  
  30.  
  31. Debugging
  32.  
  33. The basic procedure for debugging OpenDoc part shared libraries is:
  34.  
  35. (Assume your OpenDoc part project is named "MyPart.π".)
  36.  
  37. • Create an additional project named, e.g., Test, and add the "MyPart.π" file to the Test project.
  38.  
  39. • Bring the Test project up to date. This will bring "MyPart.π" up to date, creating a debuggable shared library named "MyPart.π.pef".
  40.  
  41. • Replace the "MyPart" part shared library in the OpenDoc "Editors" folder with the "MyPart.π.pef" version.
  42.  
  43. • Make sure that the "MyPart.π" project is open in the Symantec Project Manager.
  44.  
  45. • Double-click on the Symantec Debugger to launch it. When the Launch dialog comes up, Cancel it. Leave the debugger running.
  46.  
  47. • Double-click on MyPart part stationery or a MyPart document to open it.
  48.  
  49. • Hold down the control and option keys until the Symantec Debugger comes to the foreground. You may have to select Go with control-option held down several times before the source for your part comes up in the debugger window. Once it does, you can set breakpoints in any function in your part, examine the stack, etc.
  50.  
  51.  
  52. 11/8/95